<?php include(APPLICATION_PATH.'modules/hm-poll/views/scripts/common/navigation.phtml'); ?>
<h2 class="title">Editar</h2>
<form enctype="multipart/form-data" action="<?php echo $this->url(array('action'=>'edit')); ?>" method="post">
	<div class="hide">
		<input type="hidden" name="id" id="id" value="<?php echo $this->edit_poll['id']; ?>" />
	</div>
	<div class="clear">
		<div class="span-2 append-bottom"><label for="source">Pergunta:</label></div>
		<input type="text" name="question" tabindex="1" maxlength="255" value="<?php echo $this->edit_poll['question']; ?>" class="span-6 append-bottom" />
	</div>
	<div class="clear">
		<div class="span-2 append-bottom"><label for="user_status">Status:</label></div>
		<select name="active" tabindex="2" class="append-bottom">
			<option value="Y" <?php if($this->edit_poll['active'] == 'Y') { ?>selected="selected"<?php } ?>>Ativado</option>
			<option value="N" <?php if($this->edit_poll['active'] == 'N') { ?>selected="selected"<?php } ?>>Desativado</option>
		</select>
	</div>
	<div class="clear"><input type="submit" tabindex="3" name="add" value="Cadastrar" /></div>
</form>